<?php
	class Mapping{
		public function __construct(){
			
		}
                public static function mapList_Projects($rs, $project){
                    $project->setID($rs->id);
                    $project->setPro_Name($rs->pro_name);
//                    $project->setPro_Image($rs->pro_image);
                    $project->setPro_Description($rs->pro_description);
                    $project->setCate_id($rs->cate_id);
		}
                public static function mapList_Gallery($rs, $gallery){
                    $gallery->setID($rs->id);
                    $gallery->setGal_Image($rs->gal_image);
                    $gallery->setPro_Id($rs->pro_id);
                    $gallery->setGal_Description($rs->gal_description);
		}
                 public static function mapUser($rs, $user){
                    $user->setID($rs->id);
                    $user->setUserName($rs->username);
                    $user->setPassword($rs->password);
                    $user->setRule($rs->rule);
                }
	}
?>